package com.zlyx.easy.swagger.remote;

import java.util.List;
import java.util.Map;

import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

import com.zlyx.easy.http.annotations.HttpService;

/**
 * @Auth 赵光
 * @Describle
 * @2020年1月12日
 */
@HttpService(url = "${easy.swagger.managerUrl}")
public interface ApiManagerService {

	@GetMapping(value = "easy-swagger/apis/get")
	Map<String, List<String>> getApis();

	@PostMapping(value = "easy-swagger/apis/register", consumes = { MediaType.APPLICATION_JSON_UTF8_VALUE })
	void registerApis(Map<String, List<String>> apis);
}
